package com.ruiyian.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruiyian.common.annotation.Excel;
import com.ruiyian.common.core.domain.BaseEntity;

public class JnCameraInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 所属隧道id */
    @Excel(name = "所属隧道id")
    private Long tunnelId;

    /** 摄像机名称 */
    @Excel(name = "摄像机名称")
    private String cameraName;

    /** rtsp地址 */
    @Excel(name = "rtsp地址")
    private String rtspAddress;

    /** 视频服务端地址 */
    @Excel(name = "视频服务端地址")
    private String serverAddress;

    /** 桩号 */
    @Excel(name = "桩号")
    private String stakeMark;

    /** 删除标记（0代表未删除） */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTunnelId(Long tunnelId)
    {
        this.tunnelId = tunnelId;
    }

    public Long getTunnelId()
    {
        return tunnelId;
    }
    public void setCameraName(String cameraName)
    {
        this.cameraName = cameraName;
    }

    public String getCameraName()
    {
        return cameraName;
    }
    public void setRtspAddress(String rtspAddress)
    {
        this.rtspAddress = rtspAddress;
    }

    public String getRtspAddress()
    {
        return rtspAddress;
    }
    public void setServerAddress(String serverAddress)
    {
        this.serverAddress = serverAddress;
    }

    public String getServerAddress()
    {
        return serverAddress;
    }
    public void setStakeMark(String stakeMark)
    {
        this.stakeMark = stakeMark;
    }

    public String getStakeMark()
    {
        return stakeMark;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tunnelId", getTunnelId())
            .append("cameraName", getCameraName())
            .append("rtspAddress", getRtspAddress())
            .append("stakeMark", getStakeMark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
